Interesting Things

Table of Contents

Practice to clever

plop

idea

写编译器1

Tutorial

  • How to write your own compiler It describes the project of a complete compiler for a real programming language and is organized to demonstrate how to incrementally design and implement the successive phases of the compilation process.
  • Hey Kids, Let’s Write a Compiler Today t’s literally a short tutorial on how to write a compiler. It concentrates on the least-complicated but most-intimidating phase: machine code generation.
  • Let's Build a Compiler This fifteen-part series, written from 1988 to 1995, is a non-technical introduction to compiler construction.
  • Stanford University Computer Science 143 — Compilers
  • UIUC CS 426
  • Writing Your Own Toy Compiler Using Flex, Bison and LLVM The tools we’ll be using are C/C++ based. LLVM is specifically C++ and our toy language will follow suit since there are some niceties of OOP and the STL (C++’s stdlib) that make for fewer lines of code. In addition to C, both Lex and Bison have their own syntax which may seem daunting at first, but I’ll try to explain as much as possible. The grammar we’re dealing with is actually very tiny (~100 LOC), so it should be feasible.

a functional programming language and interpreter written in GNU Bash 4

Footnotes:

Author: Shi Shougang

Created: 2015-03-05 Thu 23:20

Emacs 24.3.1 (Org mode 8.2.10)

Validate